package com.internship.dao;



import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.internship.model.Admin;
import com.internship.page.Pagination;

public interface AdminDao {
	public Admin getAdminByteacherNumber(String teacherNumber);
	public List<Admin>  getAdminsList(@Param("deptName") String deptName ,@Param("teacherName") String teacherName ,Pagination page);
	public List<Admin>  getAdminsList();
	public int addAdmin(Admin admin);
	public int updateAdmin(Admin admin);
	public int delAdmin(@Param("teacherNumber") String teacherNumber);
	public int delAll(String[] ids);

}
